@import url("EnhancedGrid.css");
@import url("../../resources/twilightGrid.css");

/* overwrite twilightGrid.css */
.twilight .dojoxGridRowbarInner {
	width:20px;
}
/* end overwrite */

/* header cell root container */
.twilight .dojoxGridSortHover {
	border-color:#a5beda; 
	border-bottom-color:#5c7590; 
	color:#243C5F;
	cursor:pointer;
	background-color:#abd5fd;
}
.twilight .dojoxGridSortRoot {
	background:url("../../resources/images/header_shadow.png") repeat-x bottom;
	color:#000;
	text-decoration:none;
	border:1px solid #e0eefb;
	height:100%;
	display:block;
	margin-left:-1px;
}
.dj_ie .twilight .dojoxGridSortRoot {
	border-right:1px solid #bcbcbc;
}

/* header cell sorting wrapper & selection region (for selecting column) */
.twilight .dojoxGridHeaderCellSelectRegion {
	padding:4px 0px 5px 6px;
}
.twilight .dojoxGridSelectRegionHover {
	cursor:pointer;
	color:#243C5F;
	text-decoration:none;
}
.twilight .dojoxGridSelectRegionHover,
.twilight .dojoxGridCellOver .dojoxGridSortWrapper,
.twilight .dojoxGridHeaderSelected .dojoxGridHeaderCellSelectRegion {
	background:url("../../resources/images/header.png") #abd5fd repeat-x bottom;
}
.twilight .dojoxGridCellOver .dojoxGridSortWrapper {
	background-color:transparent;
}
.twilight .dojoxGridHeaderSelected .dojoxGridHeaderActive {
	background-color:#91c9fe;
}

/* column selection */
.twilight td.dojoxGridRowSelected {
	border-collapse:separate;
	border:1px solid #BFD6EB;
	border-bottom:1px solid transparent;
	background:url("../../resources/images/row_back.png") #e3f2ff repeat-x;
	/*border:solid 1px #A0BFDD;*/
}
.dj_ie6 .twilight td.dojoxGridRowSelected,
.dj_ie6 .twilight .dojoxGridRowOdd td.dojoxGridRowSelected {
	border-color:#BFD6EB;
}
.twilight .dojoxGridRowOver td.dojoxGridRowSelected {
	border-top:1px solid #769DC0;
	border-bottom:1px solid #769DC0;
}
.twilight .dojoxGridRowActive td.dojoxGridRowSelected {
	background-image:url("../../resources/images/td_button_down.png");
}

/* focus border */
.twilight .dojoxGridFocusBorder {
	border-top: 1px dashed darkblue;
	border-left: 1px dashed darkblue;
}

/** dnd **/
.twilight .dojoxGridSelectedDIV {
	background-color: #3366CC;
}
.dj_ie .twilight .dojoxGridSelectedDIV {
	filter: alpha(opacity = 30);
}
.twilight .dojoxGridBorderDIV {
	background-color:#769DC0;
}

.dj_ie6 .twilight .dojoxGridSortRoot,
.dj_ie6 .twilight .dojoxGridSelectRegionHover,
.dj_ie6 .twilight .dojoxGridCellOver .dojoxGridSortWrapper,
.dj_ie6 .twilight .dojoxGridHeaderSelected .dojoxGridHeaderCellSelectRegion {
	background-image:none;
}

/* Don't need any explicit outlines */
.twilight .dojoxGridCell,
.twilight .dojoxGridCellFocus,
.twilight .dojoxGridHeaderCellSelectRegion,
.twilight .dojoxGridUnarySortWrapper,
.twilight .dojoxGridNestedSortWrapper,
.twilight .dojoxGridSortRoot {
	outline: none;
}
